package com.compute;

public class object {

    String school_number;
    String name;

    double chinese;
    double math;
    double english;

    public object(String school_number,String name,double chinese,double math,double english){
        this.school_number = school_number;
        this.name = name;
        this.chinese = chinese;
        this.math = math;
        this.english = english;
    }

    public double average(){
        return (this.chinese + this.math + this.english)/3;
    }

}
